const user = {
  state: {
    user: {
      name: '',
      avatar: '',
      gender: 0
    }
  },
  mutations: {
    SET_USER: (state, user) => {
      state.user = user
    }
  }
}

export default user
